package com.group3.dao;

import com.group3.domain.LeaveDetail;
import java.util.List;

import com.group3.domain.LeaveDetailExample;
import com.group3.pojo.result.LeaveDetailResult;
import org.apache.ibatis.annotations.Param;

public interface LeaveDetailMapper {
    long countByExample(LeaveDetailExample example);

    int deleteByExample(LeaveDetailExample example);

    int insert(LeaveDetail record);

    int insertSelective(LeaveDetail record);

    List<LeaveDetail> selectByExample(LeaveDetailExample example);

    int updateByExampleSelective(@Param("record") LeaveDetail record, @Param("example") LeaveDetailExample example);

    int updateByExample(@Param("record") LeaveDetail record, @Param("example") LeaveDetailExample example);


    //自定义查询请假详情
    List<LeaveDetailResult> SelectLeaveInfo(LeaveDetailExample example);
}